package com.zjxf.controller;

import com.zjxf.base.common.JSONResponse;
import com.zjxf.controller.common.BaseController;
import com.zjxf.service.ProductClassifyService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * controller for TProductClassify
 * code generated by jpa codegen
 *
 * @author ZhangWei
 * Created On 2021/03/23.
 */
@Validated
@RestController
@AllArgsConstructor
@Api(tags = "商品分类")
@RequestMapping("/tProductClassify/")
public class ProductClassifyController extends BaseController {

    private final ProductClassifyService productClassifyService;

    @ApiOperation(value = "分页获取所有商品属性分类")
    @GetMapping("page")
    public JSONResponse page() {
//        Page<ProductClassify> tProductClassify = productClassifyService.page();
        return null;
    }
}